package org.example.Thread01;

public class Test02 {
    public static void main(String[] args) {
        //获取当前线程
        Thread t=Thread.currentThread();
        //打印当前线程名字
        System.out.println(t.getName());
    }
}
